package com.wyk.springbootdemo.entity;


import lombok.Data;

import java.io.Serializable;
@Data
public class UploadVO implements Serializable {
    private static final long serialVersionUID = 1L;
    //状态码,1表示成功，-1表示失败
    private int code;
    //结果
    private Object data;
    //信息
    private String msg;
    public UploadVO(int code, Object data) {
        super();
        this.code = code;
        this.data = data;
    }
    public UploadVO(int code, String msg, Object data) {
        super();
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
}